﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface ITStackerRepository: IBaseRepository<TStacker>
    {
        /// <summary>
        /// 堆垛机信息添加
        /// </summary>
        /// <param name="stacker"></param>
        /// <returns></returns>
        bool AddTStacker(TStacker stacker);
        /// <summary>
        /// 堆垛机信息修改
        /// </summary>
        /// <param name="stacker"></param>
        /// <returns></returns>
        bool UpdateTStacker(TStacker stacker);
        /// <summary>
        /// 堆垛机查询
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        TStacker GetStacker(Expression<Func<TStacker, bool>> where);
    }
}
